package com.wangshouyu.mp.user;

import java.io.Serializable;
import java.util.List;
import java.util.Objects;

/**
 * @author 王守钰
 * @date 2020年12月23日 15:44
 * @description 用户列表
 */
public class UserList implements Serializable {

    /**
     * 用户列表
     */
    private List<String> openid;

    public List<String> getOpenid() {
        return openid;
    }

    public void setOpenid(List<String> openid) {
        this.openid = openid;
    }

    public UserList(List<String> openid) {
        this.openid = openid;
    }

    public UserList() {
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        UserList userList = (UserList) o;
        return Objects.equals(openid, userList.openid);
    }

    @Override
    public int hashCode() {
        return Objects.hash(openid);
    }

    @Override
    public String toString() {
        return "UserList{" +
                "openid=" + openid +
                '}';
    }
}
